home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1993-01-12 | 1.7 KB | 87 lines |
- @DefineProject
- @Name="TRAVEL SEARCH"
- @Version="2.0"
- @OutDrive=C
- @Subdir="\\TSDIR"
- @EndProject
-
- @Display
-
-
-
-
-
- This program will install @Name version @Version onto your PC in a
- directory called TSDIR. You will be asked for the output drive.
-
- After the installation is complete, you will need to reboot your
- computer. Then, enter TSTRAVEL at the DOS prompt to run the demo.
-
- @Pause
- @EndDisplay
-
- @If (((@OSMajor * 100) + @OSMinor) < 200)
- @Display @Name version @Version requires DOS Version 2.0 or higher
- @Pause
- @Abort
- @EndIf
-
- @If (@RAMTotal < 630K)
- @Display @Name version @Version requires 640K of memory to run
- @Pause
- @Abort
- @EndIf
-
- @GetOutDrive
- Which drive would you like to install @Name onto?
- @EndOutDrive
- /*
- @If (@Removable)
- @Display
- You can't install @Name onto a floppy drive!
- @Pause
- @Abort
- @EndDisplay
- @EndIf
- */
- @If (@DiskFree @OutDrive < 3000000)
- @Display TravelSearch requires 3 Megabytes of Disk Space, Disk @OutDrive
- only has @DiskFree @OutDrive bytes.
- @Pause
- @Abort
- @EndIf
- /*
- @GetSubdir
- Which directory on @OutDrive would you like to install @Name to?
- @Prompt = "Which directory? - Press ENTER to accept the default directory"
- @EndSubdir
- */
- @DefineDisk
- @Label="CT/MA Demo Disk Number 1"
- @File DBFS.ZIP
- @File IDX.ZIP
- @File RTIME.ZIP
- @File PKUNZIP.EXE
- @File ENDINST.BAT
- @EndDisk
- /*
- @SetAutoexec
- @AskOverwrite
- @Path="@OutDrive:\\@Subdir"
- @EndAutoexec
- */
- @SetConfig
- @AskOverwrite
- @Buffers=30
- @Files=40
- @EndConfig
-
- @ChDrive @OutDrive
- @ChDir "\\@SubDir"
-
- @Finish
- @Write ("@OutDrive:\\@SubDir\\tstravel.bat", "wt", "SET TSDIR=\\@Subdir\n")
- @Write (,, "TSEARCH\n")
- @System "endinst", " "
- @EndFinish
-